cat file.txt | sort | uniq -c | sort -r | awk '{print $2, $1}' | head -n 10